package com.cms.content.problem.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cms.framework.utils.page.PageView;
import com.cms.content.problem.pojo.Problem;
import com.cms.content.problem.pojo.dto.ProblemDTO;

public interface ProblemDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(Problem record);

    int insertSelective(Problem record);

    Problem selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Problem record);

    int updateByPrimaryKey(Problem record);
    
    List<Problem> selectByPage(@Param("pageView")PageView<ProblemDTO> pageView,@Param("problemDTOParams")ProblemDTO problemDTOParams);
}